package com.example.jf.jfapp.bean.response;

/**
 * 发布评论响应的数据
 * Created by jf on 2017/7/29.
 */

public class SendCommentResponse {

    /**
     * result : {"code":200,"comment":{"content":"ccccc","createdAt":"Sat Jul 01 11:35:49 CST 2017","objectId":"595718958d6d810057cde7a7","user":{"objectId":"594cc574570c357d06925a54"}},"mess":"评论成功"}
     */

    private ResultBean result;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * code : 200
         * comment : {"content":"ccccc","createdAt":"Sat Jul 01 11:35:49 CST 2017","objectId":"595718958d6d810057cde7a7","user":{"objectId":"594cc574570c357d06925a54"}}
         * mess : 评论成功
         */

        private int code;
        private CommentBean comment;
        private String mess;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public CommentBean getComment() {
            return comment;
        }

        public void setComment(CommentBean comment) {
            this.comment = comment;
        }

        public String getMess() {
            return mess;
        }

        public void setMess(String mess) {
            this.mess = mess;
        }

        public static class CommentBean {
            /**
             * content : ccccc
             * createdAt : Sat Jul 01 11:35:49 CST 2017
             * objectId : 595718958d6d810057cde7a7
             * user : {"objectId":"594cc574570c357d06925a54"}
             */

            private String content;
            private String createdAt;
            private String objectId;
            private UserBean user;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(String createdAt) {
                this.createdAt = createdAt;
            }

            public String getObjectId() {
                return objectId;
            }

            public void setObjectId(String objectId) {
                this.objectId = objectId;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public static class UserBean {
                /**
                 * objectId : 594cc574570c357d06925a54
                 */

                private String objectId;

                public String getObjectId() {
                    return objectId;
                }

                public void setObjectId(String objectId) {
                    this.objectId = objectId;
                }
            }
        }
    }
}
